﻿<Window x:Class="WpfMembershipAdmin.UserCreateWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="UserCreateWindow" Height="212" Width="326" WindowStartupLocation="CenterOwner">
    <DockPanel>
        <DockPanel DockPanel.Dock="Bottom">
            <Button Name="btnCancel" DockPanel.Dock="Right" HorizontalAlignment="Right" Width="100" Margin="5,5,5,5" Click="btnCancel_Click">Cancel</Button>
            <Button Name="btnOk" DockPanel.Dock="Right" HorizontalAlignment="Right" Width="100" Margin="5,5,5,5" Click="btnOk_Click">OK</Button>
        </DockPanel>
        <StackPanel Name="ObjectPropertyStackPanel">
            <DockPanel>
                <Label DockPanel.Dock="Left" Width="110">Username:</Label>
                <TextBox Name="txtUsername"></TextBox>
            </DockPanel>
            <DockPanel>
                <Label DockPanel.Dock="Left" Width="110">Password:</Label>
                <Button DockPanel.Dock="Right" Name="btnGeneratePassword" Click="btnGeneratePassword_Click">Generate</Button>
                <TextBox Name="txtPassword"></TextBox>
            </DockPanel>
            <DockPanel>
                <Label DockPanel.Dock="Left" Width="110">Email Address:</Label>
                <TextBox Name="txtEmailAddress"></TextBox>
            </DockPanel>
            <DockPanel>
                <Label DockPanel.Dock="Left" Width="110">Password Question:</Label>
                <TextBox Name="txtPasswordQuestion"></TextBox>
            </DockPanel>
            <DockPanel>
                <Label DockPanel.Dock="Left" Width="110">Password Answer:</Label>
                <TextBox Name="txtPasswordAnswer"></TextBox>
            </DockPanel>
            <DockPanel>
                <Label DockPanel.Dock="Left" Width="110">Flags:</Label>
                <CheckBox Name="chkIsApproved" Content="Is Approved" Margin="5,5,5,5"></CheckBox>
            </DockPanel>
        </StackPanel>
    </DockPanel>
</Window>
